<?php
require_once (dirname(__FILE__). '/../yutori.class.php');

class TestSuiteofAll extends TestSuite {
    function TestSuiteofAll() {
        $this->TestSuite('All tests');

		// tests配下のテストファイルを全てrequire
		$baseDir = realpath(dirname(__FILE__). '/tests');
		foreach (scandir($baseDir) as $testFile) {
			$fullName = $baseDir .DIRECTORY_SEPARATOR. $testFile;
			if (is_file($fullName)) $this->addFile($fullName);
		}
    }
}